\name{RCI}
\alias{RCI}
\title{Confidence Interval for a Correlation}
\description{
  Calculates a confidence interval around a correlation given the sample size.  This is an internal function and is not typically meant to be called directly.
}
\usage{
RCI(r, N, conf.level = 0.95, digits = 4)
}
\arguments{
  \item{r}{\code{r} the obtained correlation.
}
  \item{N}{\code{N} the number of observations the correlation was calculated on.
}
  \item{conf.level}{\code{conf.level} the desired confidence level.
}
  \item{digits}{\code{digits} how many digits should be printed?
}
}
\details{
Note the confidence interval is not symmetric because it is calculated on the hyperbolic arc tangent.
}
\value{
Returns an (invisible) numeric vector with the confidence interval, and prints a nicely formatted CI to the console.
}
\author{Joshua Wiley, \url{http://joshuawiley.com/}}
\note{This is a fairly trivial function.}
\examples{
Jmisc:::RCI(r = .2, N = 10)
Jmisc:::RCI(r = .2, N = 5000)
}
\keyword{htest}
